package me.chenqiang.tre.entity;

/**
 * 表示受理终端的示例类，可以扩展各种类型的参数
 */
public class Device {
	public static final int NORMAL_CANTEEN = 1;
	public static final int STUDENT_CANTEEN = 2;	
	public static final int FACULTY_CANTEEN = 3;
	public static final int PUBLIC_POS = 4;
	
	private String deviceId;
	private int deviceType;
	private String position;
	
	public Device(String deviceId, int deviceType, String position) {
		super();
		this.deviceId = deviceId;
		this.deviceType = deviceType;
		this.position = position;
	}
	
	public String getDeviceId() {
		return deviceId;
	}
	public int getDeviceType() {
		return deviceType;
	}
	

	public String getPosition() {
		return position;
	}

	@Override
	public String toString() {
		return String.format("设备号%s 类型%d 地点%s", this.deviceId, this.deviceType, this.position);
	}
	
	
}
